Applies a sinc-in-time filter (rectangular frequency response).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | fc |
The filter cutoff frequency, in Hz. |
||
| real(kind=real64), | intent(in) | :: | fs |
The sampling frequency, in Hz. |
||
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The signal to filter. |
|
| real(kind=real64), | intent(in), | optional | :: | fc2 |
The second cutoff frequency for band-pass and band-stop filters. |
|
| integer(kind=int32), | intent(in), | optional | :: | ftype |
The filter type. This parameter must be one of the following values:
The default value is LOW_PASS_FILTER. |
The filtered signal.